package vip.gnloypp.redis.mq.api.config;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import vip.gnloypp.redis.mq.api.data.RedisMqMessage;

/**
 * @author GuoNanLin
 * @since 2024/8/30 16:30
 */
@Getter
@Setter
@Accessors(chain = true)
public class RedisSenderQueueConfig<T extends RedisMqMessage> {

    /**
     * 队列唯一标识
     */
    private String queue;
    /**
     * 队列最大长度
     */
    private Long queueMaxSize;
    /**
     * 消息类
     */
    private Class<T> eventType;

}
